﻿@model Mvc4TwitterBootstrap.Models.PersonModel

@{
    ViewBag.Title = "Delete";
}

<div class="span12">
	<h2>Delete - PersonModel</h2>
	<hr/>
	<div class="well">Are you sure you want to delete this?</div>
</div>

<div class="span12">
@using (Html.BeginForm("Delete", "YourControllerName", FormMethod.Post, new { @class = "form-horizontal" })) {
<fieldset>
    <div class="control-group">
        <label class="control-label">
			@Html.DisplayNameFor(model => model.Vorname)
        </label>
      <div class="controls">
            <span class="input-xlarge uneditable-input">
				@Html.DisplayFor(model => model.Vorname)
            </span>
      </div>
    </div>
    <div class="control-group">
        <label class="control-label">
			@Html.DisplayNameFor(model => model.Nachname)
        </label>
      <div class="controls">
            <span class="input-xlarge uneditable-input">
				@Html.DisplayFor(model => model.Nachname)
            </span>
      </div>
    </div>
    <div class="control-group">
        <label class="control-label">
			@Html.DisplayNameFor(model => model.Ort)
        </label>
      <div class="controls">
            <span class="input-xlarge uneditable-input">
				@Html.DisplayFor(model => model.Ort)
            </span>
      </div>
    </div>
</fieldset>
     <div class="form-actions">
        <input type="submit" class="btn btn-primary" value="Delete" />
     </div>
}
</div>


<div class="span12">
	 <div class="well">
       @Html.ActionLink("Zurück zur Auflistung", "List", null, new {@class="btn btn-small", data_icon="icon-arrow-left"})
	 </div>
</div>

